package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.MstCaClassMember;
import com.dingreading.cloud.soms.entity.table.MstCaClassMemberTableDef;
import com.dingreading.cloud.soms.mapper.MstCaClassMemberMapper;
import com.dingreading.cloud.soms.service.MstCaClassMemberService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 学科管理表 服务层实现。
 *
 * @author Administrator
 * @since 2025-11-03
 */
@Service
public class MstCaClassMemberServiceImpl extends BaseServiceImpl<MstCaClassMemberMapper, MstCaClassMember, MstCaClassMemberTableDef> implements MstCaClassMemberService {

    @Override
    protected MstCaClassMemberTableDef getTable() {
        return MstCaClassMemberTableDef.mstCaClassMember;
    }

    @Override
    public List<MstCaClassMember> listByStoreUid(String mstStoreUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(mstStoreUid));
    }
}
